package com.vegetable.modules.entity.baseData.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 资金账户
 * </p>
 *
 * @author wangruijie
 * @since 2024-03-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="FundAccountDetail对象", description="资金账户活动明细")
public class FundAccountDetailPO implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "账户名称")
    private Long accountId;
    @ApiModelProperty(value = "账户名称")
    private String accountName;

    @ApiModelProperty(value = "账户类型：0现金，1微信，2支付宝，3银行卡")
    private BigDecimal changeNumber;

    @ApiModelProperty(value = "往来类型")
    private Integer changeType;

    @ApiModelProperty(value = "总支出")
    private String relateDocNo;

    @ApiModelProperty(value = "目标")
    private String target;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date createTimeStart;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date createTimeEnd;

    @ApiModelProperty(value = "当前页码")
    private Integer current = 1;


    @ApiModelProperty(value = "每页显示记录数")
    private Integer size = 15;

}
